package com.example.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 *
 * @author weijingchen
 * @DateTime 2025-09-24
 */
@Data
public class PwdDto {
    @NotBlank
    @Size(min = 5, max = 16, message = "密码必须在5-16位字符之间")
    private String oldPwd;
    @NotBlank
    @Size(min = 5, max = 16, message = "密码必须在5-16位字符之间")
    private String newPwd;
    @NotBlank
    @Size(min = 5, max = 16, message = "密码必须在5-16位字符之间")
    private String rePwd;
}
